//输出今年的国庆节（10.1）是周几
public class NationalDayWeekday {
    public static void main(String[] args) {
        // 获取当前年份
        int currentYear = LocalDate.now().getYear();
        // 创建国庆节的日期对象
        LocalDate nationalDay = LocalDate.of(currentYear, 10, 1);
        // 获取国庆节是周几
        DayOfWeek dayOfWeek = nationalDay.getDayOfWeek();

        // 输出结果
        System.out.println("今年的国庆节（10月1日）是 " + dayOfWeek + "。");
    }
}